﻿using UnityEngine;
using System.Collections;

public class DeadTrigger : MonoBehaviour {
	void OnTriggerEnter(Collider c) {
		c.gameObject.GetComponent<ResetPlayerPosition>().resetPosition();
	}
}
